package com.briup.day25;

public class MyLinkedListTest {

	
	public static void main(String[] args) {
		MyLinkedList list = new MyLinkedList();
		
		list.add("hello");
		list.add("world");
		list.add("hi");
		list.add("ho");
		list.add("haa");
		list.add("wrp");
		list.add("hinm");
		
		System.out.println(list.get(4));
		
		list.remove(0);
		
		
		
		MyIterator iterator = list.iterator();
		while(iterator.hasNext()) {
			System.out.println(iterator.next());
		}
		
	}
}
